#include <iostream>

int main() {
    int a[3][4] = {{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}};
    int (* p)[4], i, j;
    p = a;              // p指向二维数组的0行
    printf("enter rwo and column:");
    scanf("%d %d", &i, &j);
    printf("a[%d][%d] = %d\n", i, j, *(*(p + i) + j));
    return 0;
}
